import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import mutations from './mutations'
import actions from './actions'


// 1. 使用vuex
Vue.use(Vuex);
const store = new Vuex.Store({
    state,
    actions,
    mutations
   
});


export  default store;